page-mettingchat {
    $userBackgroundColor: #c7edfc;
    $toUserBackgroundColor: #f0f4f8;
    .line-breaker {
        white-space: pre-line;
        font-size: 1em;
    }
    .message-wrap {
        padding-top: 1rem;
        padding-bottom: 7rem;
        .message {
            position: relative;
            padding: 1rem 0;
            .user-img {
                border-radius: 50%;
                width: 4rem;
                height: 4rem;
                box-shadow: 0 0 0.2rem rgba(0, 0, 0, 0.36);
            } // .preViewDiv{
            //   max-width:100%;
            //   max-height:30rem;
            // }
            .msg-info {
                margin-left: 5rem;
                p {
                    font-size: .8em;
                    color: #888;
                }
            }
            .msg-detail {
                width: 100%;
                min-height: 6rem;
                p {
                    margin: 0;
                }
                .msg-content {
                    position: relative;
                    margin-top: 0.5rem;
                    background-color: #fff;
                    border-radius: 0.5rem;
                    padding: 0.8rem;
                    border: 0.1rem solid #ddd;
                    span.triangle {
                        background-color: #fff;
                        border-radius: 0.2rem;
                        height: 0.8rem;
                        width: 0.8rem;
                        display: block;
                        border-style: solid;
                        border-color: #ddd;
                        border-width: 0.1rem;
                        -webkit-transform: rotate(45deg);
                        transform: rotate(45deg);
                        position: absolute;
                    }
                }
            }
        }
        .message.left {
            .msg-content {
                background-color: $toUserBackgroundColor;
            }
            .msg-detail {
                padding-left: 5rem;
            }
            .user-img {
                position: absolute;
                left: 0;
            }
            .msg-content {
                span.triangle {
                    border-top-width: 0;
                    border-right-width: 0;
                    left: -0.5rem;
                    top: 1.2rem;
                }
            }
        }
        .message.right {
            .msg-info {
                text-align: right;
                margin-right: 5rem;
            }
            .msg-detail {
                padding-right: 5rem;
            }
            .user-img {
                position: absolute;
                right: 0;
            }
            ion-spinner {
                position: absolute;
                right: 1rem;
                top: 5rem;
            }
            .msg-content {
                background-color: $userBackgroundColor; // color: #fff;
                margin-left: 2rem;
                span.triangle {
                    background-color: $userBackgroundColor;
                    border-bottom-width: 0;
                    border-left-width: 0;
                    right: -0.5rem;
                    top: 1.2rem;
                }
            }
        }
    }
    .fixed-50 {
        width: 5rem;
    }
    .auto-fit {
        width: 100%;
    }

    .sendinput{
      border-bottom: solid 1px #999;
    }
    .send{
      position: fixed;
      bottom: 0;
      width: 100%;
    }
}
